#ifndef PIR_SENSOR_DETECT_H
#define PIR_SENSOR_DETECT_H

#include "my_define.h"

typedef enum
{
    PIR_SENSOR_DISABLED, // 传感器禁用
    PIR_SENSOR_ENABLED,  // 传感器启用
} pir_sensor_enable_e;

void pir_sensor_detect_init(void);
uint8_t pir_sensor_is_occupied(void);
void pir_sensor_set_status(pir_sensor_enable_e status);
void pir_sensor_task(void);

#endif
